/*
 * Copyright (C) 2017 Lee Jones <lee.jones@linaro.org>
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 3, as published
 * by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef OPENVMI_SENSORS_SIMULATED_SENSOR_DATA_H_
#define OPENVMI_SENSORS_SIMULATED_SENSOR_DATA_H_

#include <array>

const float simulated_accelerometer_data[][3] =
{{ 0.5781996846199036, 1.0965443849563599, 10.47702693939209 },
 { 0.99479079246521, 1.6855180263519287, 9.57201862335205 },
 { 0.3627215623855591, 0.9624691009521484, 9.313444137573242 },
 { 0.4058171808719635, 0.9528923034667969, 9.615114212036133 },
 { 0.39145198464393616, 0.9097966551780701, 9.50498104095459 },
 { 0.4345476031303406, 0.7565677165985107, 9.825803756713867 },
 { 0.46327802538871765, 0.5363011956214905, 9.5624418258667 },
 { 0.8176198601722717, 0.15322890877723694, 9.437943458557129 },
 { 1.3874398469924927, -0.181959331035614, 9.524134635925293 },
 { 1.1192892789840698, -0.9097966551780701, 9.11233139038086 },
 { 1.4640543460845947, -1.522712230682373, 9.734824180603027 },
 { 1.9045875072479248, -1.139639973640442, 9.126696586608887 },
 { 2.0003554821014404, -1.2737152576446533, 9.217676162719727 },
 { 2.0195090770721436, -1.4077905416488647, 9.370905876159668 },
 { 1.9381062984466553, -1.4413094520568848, 9.500192642211914 },
 { 1.84233820438385, -1.6184803247451782, 9.466673851013184 },
 { 1.84233820438385, -1.4939818382263184, 9.466673851013184 },
 { 1.799242615699768, -1.5275006294250488, 9.41400146484375 },
 { 1.7130513191223145, -1.50355863571167, 9.337387084960938 },
 { 1.7178397178649902, -1.3407529592514038, 9.423578262329102 },
 { 1.2868833541870117, -1.3646949529647827, 9.519346237182617 },
 { 1.0522516965866089, -0.9720458984375, 9.184157371520996 },
 { 0.4537012279033661, -0.9481038451194763, 9.433155059814453 },
 { 0.02274491637945175, -0.6129156351089478, 9.567230224609375 },
 { -0.7721300721168518, -0.9959878921508789, 9.84495735168457 },
 { -1.2749123573303223, -1.0821791887283325, 9.385271072387695 },
 { -1.677138328552246, -1.1109095811843872, 9.361329078674316 },
 { -2.2230162620544434, -1.4173674583435059, 9.390059471130371 },
 { -2.6204538345336914, -1.3120225667953491, 9.02135181427002 },
 { -2.7736825942993164, -1.3263877630233765, 9.428366661071777 },
 { -2.874239206314087, -1.235408067703247, 9.107542991638184 },
 { -2.8455088138580322, -1.2401964664459229, 9.53849983215332 },
 { -3.0322563648223877, -1.3407529592514038, 9.102754592895508 },
 { -3.0561983585357666, -1.3551181554794312, 9.141061782836914 },
 { -2.9700071811676025, -1.292868971824646, 9.121908187866211 },
 { -3.0131027698516846, -1.115697979927063, 9.21288776397705 },
 { -2.8646624088287354, -0.6607996821403503, 9.17936897277832 },
 { -2.7114334106445313, -0.1388636976480484, 9.461885452270508 },
 { -2.917334794998169, 0.3734954595565796, 9.610325813293457 },
 { -2.874239206314087, 0.9576807022094727, 9.557653427124023 },
 { -2.7976245880126953, 1.6280571222305298, 9.260771751403809 },
 { -2.941276788711548, 2.011129379272461, 8.820239067077637 },
 { -2.586935043334961, 3.069366693496704, 8.844181060791016 },
 { -2.673126220703125, 3.9264907836914063, 8.087613105773926 },
 { -2.5677812099456787, 4.151545524597168, 8.130708694458008 },
 { -3.027467966079712, 4.1611223220825195, 8.20732307434082 },
 { -2.9508535861968994, 4.247313976287842, 8.17380428314209 },
 { -2.850297212600708, 4.036623954772949, 8.097189903259277 },
 { -2.6348190307617188, 4.1180267333984375, 8.121131896972656 },
 { -3.1280245780944824, 3.8738183975219727, 8.65743350982666 },
 { -2.855085611343384, 3.9695863723754883, 8.403648376464844 },
 { -2.1080946922302246, 4.304774761199951, 8.360552787780762 },
 { -1.3946224451065063, 4.137180328369141, 8.983044624328613 },
 { -1.1073182821273804, 3.8738183975219727, 8.719682693481445 },
 { -0.1735796183347702, 3.9217023849487305, 8.259995460510254 },
 { 0.6308721303939819, 3.4763808250427246, 9.38048267364502 },
 { 0.8846575021743774, 3.2082302570343018, 8.9064302444458 },
 { 1.535880446434021, 2.892195701599121, 9.208099365234375 },
 { 2.0817582607269287, 2.494758129119873, 8.825027465820313 },
 { 2.5079262256622314, 2.1308395862579346, 9.174580574035645 },
 { 2.7473464012145996, 1.800439715385437, 9.337387084960938 },
 { 3.139995574951172, 2.2697031497955322, 8.427590370178223 },
 { 3.1016883850097656, 2.1547815799713135, 8.671798706054688 },
 { 2.8335378170013428, 1.9057846069335938, 9.002198219299316 },
 { 3.001131772994995, 1.9919757843017578, 8.959102630615234 },
 { 2.804807186126709, 1.7717092037200928, 8.89685344696045 },
 { 2.6228480339050293, 1.3551181554794312, 8.96389102935791 },
 { 2.369062662124634, 0.6224924325942993, 9.720458984375 },
 { 2.05781626701355, 0.21547815203666687, 9.610325813293457 },
 { 2.0003554821014404, 0.014365210197865963, 9.399636268615723 },
 { 1.4832079410552979, -0.40701428055763245, 9.198522567749023 },
 { 1.2677297592163086, -0.6799532771110535, 9.81143856048584 },
 { 0.7122750282287598, -0.6607996821403503, 10.18493366241455 },
 { 0.1951274424791336, -0.13407529890537262, 9.940725326538086 },
 { -0.16879121959209442, 0.47405192255973816, 9.543288230895996 },
 { -0.8200140595436096, 0.5793967843055725, 9.93593692779541 },
 { -1.260547161102295, 0.7134721279144287, 9.437943458557129 },
 { -0.973242998123169, 1.0342950820922852, 9.351752281188965 },
 { -0.9588778018951416, 1.0630255937576294, 9.911994934082031 },
 { -0.9157821536064148, 0.9864110946655273, 9.47146224975586 },
 { -0.6189011335372925, 1.0247182846069336, 9.730035781860352 },
 { 1.047463297843933, 2.6431987285614014, 10.046070098876953 },
 { -0.1735796183347702, 1.072602391242981, 9.299078941345215 },
 { -0.2645592987537384, 1.0007762908935547, 9.485827445983887 },
 { -0.34596213698387146, 0.8619126081466675, 9.959878921508789 },
 { -0.25977087020874023, 0.9050082564353943, 9.931148529052734 },
 { -0.3411737382411957, 0.8140285611152649, 9.255983352661133 },
 { -0.34596213698387146, 0.8762778043746948, 9.81143856048584 },
 { -0.3172317147254944, 0.790086567401886, 9.787496566772461 },
 { -0.16879121959209442, 0.9816226959228516, 9.797073364257813 },
 { 0.07541735470294952, 1.522712230682373, 10.137049674987793 }};

const float simulated_magnetometer_data[][3] =
{{ -14.4, 56.699997, 12.3 },
 { -14.46, 56.76, 11.7 },
 { -14.46, 57.36, 10.8 },
 { -14.28, 57.719997, 10.32 },
 { -13.32, 58.079998, 10.5 },
 { -12.599999, 58.26, 11.16 },
 { -11.58, 58.62, 11.7 },
 { -8.76, 59.94, 11.88 },
 { -2.46, 63.6, 11.46 },
 { 4.62, 66.9, 11.5199995 },
 { 16.38, 72.659996, 12.78 },
 { 26.88, 77.64, 14.28 },
 { 44.46, 86.939995, 17.22 },
 { 60.66, 96.42, 21.18 },
 { 84.6, 111.78, 28.92 },
 { 104.22, 126.119995, 36.84 },
 { 143.04, 157.56, 58.739998 },
 { 172.73999, 183.59999, 79.74 },
 { 219.78, 232.2, 120.96 },
 { 253.31999, 271.5, 151.26 },
 { 311.69998, 363.18, 213.54 },
 { 314.94, 369.84, 218.34 },
 { 337.5, 425.46, 264.36 },
 { 345.18, 476.75998, 312.3 },
 { 330.0, 538.5, 372.18 },
 { 291.3, 592.8, 428.75998 },
 { 251.28, 633.54, 468.18 },
 { 170.58, 731.04, 527.33997 },
 { 127.5, 853.07996, 545.27997 },
 { 100.02, 923.76, 532.8 },
 { 36.96, 927.36, 483.47998 },
 { 15.599999, 918.42, 466.97998 },
 { -14.7, 887.27997, 441.9 },
 { -6.3599997, 839.39996, 422.28 },
 { 72.659996, 726.89996, 375.36 },
 { 124.56, 658.56, 334.8 },
 { 189.72, 512.64, 234.95999 },
 { 193.26, 351.24, 130.62 },
 { 158.4, 252.23999, 77.7 },
 { 115.02, 178.8, 46.5 },
 { 66.0, 116.46, 23.34 },
 { 41.1, 91.86, 15.299999 },
 { 16.32, 70.92, 9.66 },
 { -2.9399998, 56.34, 6.42 },
 { -16.26, 47.1, 5.1 },
 { -25.26, 41.219997, 4.74 },
 { -32.399998, 35.34, 4.8599997 },
 { -34.14, 33.36, 5.4 },
 { -36.42, 31.08, 6.7799997 },
 { -38.1, 29.279999, 7.9199996 },
 { -39.36, 27.42, 8.76 },
 { -40.14, 26.519999, 9.12 },
 { -41.64, 25.98, 10.08 },
 { -42.0, 25.859999, 10.62 },
 { -41.52, 25.8, 10.62 },
 { -39.66, 27.599998, 10.08 },
 { -37.86, 29.34, 9.179999 },
 { -34.62, 31.859999, 7.62 },
 { -31.019999, 35.46, 6.96 },
 { -27.3, 38.52, 6.8399997 },
 { -21.96, 43.62, 6.66 },
 { -15.24, 50.52, 6.24 },
 { -6.66, 57.78, 5.7599998 },
 { 1.38, 65.52, 5.7599998 },
 { 9.36, 73.68, 6.72 },
 { 22.199999, 88.02, 9.3 },
 { 40.559998, 110.399994, 13.62 },
 { 53.52, 127.92, 17.46 },
 { 66.84, 148.26, 22.08 },
 { 86.34, 182.81999, 30.24 },
 { 103.74, 220.86, 39.36 },
 { 113.939995, 263.63998, 49.32 },
 { 116.1, 294.06, 53.94 },
 { 114.06, 338.16, 49.62 },
 { 105.119995, 381.72, 39.719997 },
 { 93.0, 409.44, 32.7 },
 { 73.799995, 436.02, 25.92 },
 { 51.3, 458.75998, 17.76 },
 { 33.48, 475.25998, 11.5199995 },
 { 7.08, 496.44, 3.12 },
 { -33.0, 512.22, -5.3399997 },
 { -61.44, 503.87997, -6.8999996 },
 { -80.7, 490.08, -8.16 },
 { -103.619995, 470.28, -15.54 },
 { -121.979996, 454.19998, -27.599998 },
 { -138.18, 439.5, -37.86 },
 { -163.86, 407.75998, -42.36 },
 { -176.16, 385.91998, -36.48 },
 { -197.87999, 334.5, -11.04 }};

const float simulated_orientation_data[][3] =
{{ 0.138916, 0.165663, 0.733297 },
 { 0.139011, 0.163957, 0.732663 },
 { 0.138853, 0.162817, 0.731981 },
 { 0.140857, 0.161954, 0.731673 },
 { 0.141485, 0.159603, 0.731593 },
 { 0.14672, 0.150202, 0.729549 },
 { 0.15687, 0.126025, 0.724082 },
 { 0.188648, 0.110582, 0.696866 },
 { 0.230044, 0.095091, 0.657 },
 { 0.255983, 0.066284, 0.589729 },
 { 0.264097, 0.031336, 0.539658 },
 { 0.250237, -0.026578, 0.534779 },
 { 0.249812, -0.058268, 0.554839 },
 { 0.216515, -0.059341, 0.505637 },
 { 0.175226, -0.079475, 0.259921 },
 { 0.144233, -0.06882, 0.093997 },
 { 0.09779, -0.057706, -0.050952 },
 { 0.077704, -0.0526, -0.075524 },
 { 0.056701, -0.052245, -0.134458 },
 { 0.039274, -0.048655, -0.171474 },
 { 0.012384, -0.045083, -0.196331 },
 { 0.012384, -0.045083, -0.196331 },
 { 0.007664, -0.03681, -0.207309 },
 { 0.015853, -0.027371, -0.217259 },
 { 0.035316, -0.022949, -0.194783 },
 { 0.048755, -0.015436, -0.170881 },
 { 0.059723, -0.01492, -0.154361 },
 { 0.074432, -0.002312, -0.097167 },
 { 0.089019, -0.00686, -0.048338 },
 { 0.113801, 0.006776, 0.051738 },
 { 0.135468, 0.007687, 0.117789 },
 { 0.124327, 0.018712, 0.168986 },
 { 0.126745, 0.031749, 0.269664 },
 { 0.114971, 0.038227, 0.349033 },
 { 0.088666, 0.042906, 0.477508 },
 { 0.071482, 0.050688, 0.579759 },
 { 0.050192, 0.039004, 0.659942 },
 { 0.039014, 0.029273, 0.710631 },
 { 0.032976, 0.032235, 0.753919 },
 { 0.029099, 0.033104, 0.77334 },
 { 0.027447, 0.031147, 0.791438 },
 { 0.026589, 0.031027, 0.793818 },
 { 0.024922, 0.030896, 0.798919 },
 { 0.022739, 0.031654, 0.80359 },
 { 0.021502, 0.033406, 0.806772 },
 { 0.025994, 0.039643, 0.808453 },
 { 0.045564, 0.061724, 0.779067 },
 { 0.055922, 0.072664, 0.735431 },
 { 0.039202, 0.08207, 0.793232 },
 { 0.037492, 0.087999, 0.855913 },
 { 0.03364, 0.085744, 0.890149 },
 { 0.012715, 0.08122, 0.947 },
 { -0.01149, 0.071589, 0.989142 },
 { -0.010025, 0.06587, 0.997086 },
 { -0.003037, -0.058926, -0.997596 },
 { -0.018404, -0.039538, -0.990523 },
 { -0.016311, -0.021367, -0.97524 },
 { -0.021697, -0.002866, -0.952488 },
 { -0.008481, -0.004682, -0.91943 },
 { 0.030622, -0.016285, -0.887079 },
 { 0.068814, -0.006821, -0.853307 },
 { 0.063841, -0.00375, -0.852635 },
 { 0.054552, 0.004499, -0.858913 },
 { 0.045602, 0.010947, -0.874577 },
 { 0.038622, 0.011003, -0.897795 },
 { 0.030372, 0.006089, -0.911256 },
 { 0.010191, 6.52E-4, -0.929582 },
 { -0.010774, -0.008217, -0.960392 },
 { -0.014635, -0.018449, -0.98325 },
 { -0.032323, -0.02229, -0.995465 },
 { 0.04698, 0.023532, 0.998254 },
 { 0.030478, 0.032986, 0.991564 },
 { 0.019756, 0.037979, 0.984997 },
 { 0.015526, 0.037004, 0.970438 },
 { 0.009702, 0.040017, 0.942439 },
 { 0.008091, 0.038705, 0.916593 },
 { 0.013811, 7.67E-4, 0.903005 },
 { 0.032694, -0.005347, 0.890125 },
 { 0.031258, -0.01298, 0.874678 },
 { 0.071047, 0.019066, 0.833101 },
 { 0.053987, 0.008662, 0.777561 },
 { 0.047076, 0.0124, 0.800746 },
 { 0.044701, 0.028551, 0.830731 },
 { 0.032432, 0.037717, 0.834214 },
 { 0.011093, 0.019334, 0.82562 },
 { -0.010343, 0.021854, 0.840502 },
 { -0.02117, 0.020833, 0.832043 },
 { -0.044633, 0.006674, 0.790173 },
 { -0.081702, 0.024217, 0.670205 },
 { 0.009265, 0.028128, 0.421663 },
 { 0.027664, -0.021378, 0.192847 },
 { -0.025449, -0.041617, -0.032685 },
 { -0.125096, -0.061023, -0.201176 },
 { -0.15978, -0.013851, -0.381367 },
 { -0.116601, -0.003919, -0.443556 },
 { -0.082677, -0.002923, -0.485267 },
 { -0.092322, 0.013259, -0.525346 },
 { -0.121101, 0.027239, -0.573701 },
 { -0.13801, 0.036585, -0.646215 },
 { -0.166456, 0.012265, -0.74834 },
 { -0.145938, -0.028267, -0.777279 },
 { -0.081703, -0.083629, -0.837879 },
 { 0.023737, -0.128613, -0.862683 },
 { 0.040827, -0.152494, -0.922284 },
 { 0.060895, -0.158989, -0.962076 },
 { -0.063974, 0.152048, 0.98618 },
 { -0.006681, 0.122231, 0.951563 },
 { 0.031497, 0.131758, 0.875119 },
 { 0.065517, 0.12132, 0.796596 },
 { 0.082487, 0.105289, 0.761893 },
 { 0.081716, 0.10643, 0.750425 },
 { 0.085712, 0.101751, 0.727347 },
 { 0.094453, 0.064981, 0.666312 },
 { 0.099265, 0.061777, 0.650369 },
 { 0.095312, 0.071951, 0.611814 },
 { 0.09659, 0.069756, 0.57676 },
 { 0.0985, 0.068531, 0.55226 },
 { 0.0991, 0.06822, 0.537095 },
 { 0.101401, 0.071148, 0.511709 }};

// Only the first element is taken for Proximity
const float simulated_proximity_data[][3] =
{{ 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 8.0, 0.0, 0.0 },
 { 0.0, 0.0, 0.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